package jsyf.oa.facade.wreport;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by Administrator on 2018/3/22.
 */
@Path("/wReportExpensesService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface WReportExpensesFacade {

    @Path("/getPhoneFees")
    List<JSONObject> getPhoneFees(JSONObject jsonObject);

    @Path("/addPhoneFees")
    String addPhoneFees(String jsonData);

//    @Path("/delPhoneFees")
//    JSONObject delPhoneFees(String jsonData);

    @Path("/remove")
    Boolean remove(String jsonData);

    @Path("/updatePhoneFees")
    JSONObject updatePhoneFees(String jsonData);
}
